<%@ page language="java" import="com.alibaba.fastjson.JSONObject" pageEncoding="UTF-8" %>
<%@ page import="weaver.conn.RecordSet" %>
<%@ page import="weaver.general.BaseBean" %>
<%@ page import="weaver.general.Util" %>
<%--获取银行信息接口--%>
<%
    BaseBean baseBean = new BaseBean();
    String cgzz = Util.null2String(request.getParameter("cgzz"));
    JSONObject dataJson = new JSONObject();
    RecordSet rs = new RecordSet();
    if (!"".equals(cgzz)) {
        String bms = "";
        rs.executeQuery("select bm from uf_sapcgzz where id in (" + cgzz + ")");
        while (rs.next()) {
            String bm = Util.null2String(rs.getString("bm"));
            bms += "".equals(bms) ? bm : "," + bm;
        }
        dataJson.put("bm", bms);
    }
    baseBean.writeLog(">>>>>getSapcgzz_Ajax>>>>>dataJson=" + dataJson);
    out.print(dataJson.toJSONString());
%>




